<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:82:"F:\PHP\PHPTutorial\WWW\tp5\public/../application/zw_admin\view\activity\index.html";i:1538988342;s:69:"F:\PHP\PHPTutorial\WWW\tp5\application\zw_admin\view\public\left.html";i:1542876875;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
        <meta name="author" content="Coderthemes">

        <link rel="shortcut icon" href="/tp5/public/static/assets/images/favicon.ico">

        <title>Adminto - Responsive Admin Dashboard Template</title>

        <!--Morris Chart CSS -->
        <link rel="stylesheet" href="/tp5/public/static/assets/plugins/morris/morris.css">

        <!-- App css -->
        <link href="/tp5/public/static/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="/tp5/public/static/assets/css/icons.css" rel="stylesheet" type="text/css" />
        <link href="/tp5/public/static/assets/css/style.css" rel="stylesheet" type="text/css" />
        <link href="/tp5/public/static/layer/layui.css" rel="stylesheet" type="text/css" />
        <script src="/tp5/public/static/assets/js/modernizr.min.js"></script>

        <link href="/tp5/public/static/assets/plugins/responsive-table/css/rwd-table.min.css" rel="stylesheet" type="text/css" media="screen">

        <!-- App css -->
        <link href="/tp5/public/staticassets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="/tp5/public/staticassets/css/icons.css" rel="stylesheet" type="text/css" />
        <link href="/tp5/public/staticassets/css/style.css" rel="stylesheet" type="text/css" />

        <script src="assets/js/modernizr.min.js"></script>
        <style>
            table th{
                text-align: center;
            }
            table td{
                text-align: center;
                white-space:inherit;
                line-height: 100px;
            }

            a{
                color:#5383c3;
            }
        </style>
    </head>


    <body class="fixed-left">

        <!-- Begin page -->
        <div id="wrapper">

            <!-- Top Bar Start -->
            <div class="topbar">

                <!-- LOGO -->
                <div class="topbar-left">
                    <a href="<?php echo url('Index/index'); ?>" class="logo"><span>莫愁<span>商城</span></span><i class="mdi mdi-layers"></i></a>
                </div>

                <!-- Button mobile view to collapse sidebar menu -->
                <div class="navbar navbar-default" role="navigation">
                    <div class="container-fluid">

                        <!-- Page title -->
                        <ul class="nav navbar-nav list-inline navbar-left">
                            <li class="list-inline-item">
                                <button class="button-menu-mobile open-left">
                                    <i class="mdi mdi-menu"></i>
                                </button>
                            </li>
                            <li class="list-inline-item">
                                <h4 class="page-title">活动列表 :</h4>
                            </li>
                        </ul>

                        <nav class="navbar-custom">

                            <ul class="list-unstyled topbar-right-menu float-right mb-0">

                                <li>
                                    <!-- Notification -->
                                    <div class="notification-box">
                                        <ul class="list-inline mb-0">
                                            <li>
                                                <a href="javascript:void(0);" class="right-bar-toggle">
                                                    <i class="mdi mdi-bell-outline noti-icon"></i>
                                                </a>
                                                <div class="noti-dot">
                                                    <span class="dot"></span>
                                                    <span class="pulse"></span>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                    <!-- End Notification bar -->
                                </li>

                                <li class="hide-phone">
                                    <form class="app-search">
                                        <input type="text" placeholder="Search..."
                                               class="form-control">
                                        <button type="submit"><i class="fa fa-search"></i></button>
                                    </form>
                                </li>

                            </ul>
                        </nav>
                    </div><!-- end container -->
                </div><!-- end navbar -->
            </div>
            <!-- Top Bar End -->


            <!-- ========== Left Sidebar Start ========== -->
                        <div class="left side-menu">
                <div class="sidebar-inner slimscrollleft">

                    <!-- User -->
                    <div class="user-box">
                        <div class="user-img">
                            <img src="/tp5/public/static/assets/images/users/avatar-1.jpg" alt="user-img" title="Mat Helme" class="rounded-circle img-thumbnail img-responsive">
                            <div class="user-status offline"><a href="<?php echo url('Login/out'); ?>"><i class="mdi mdi-adjust"></i></a></div>
                        </div>
                        <h5><a href="#">宠物后台系统</a> </h5>
                        <ul class="list-inline">
                            <!-- <li class="list-inline-item">
                                <a href="#" >
                                    <i class="mdi mdi-settings"></i>
                                </a>
                            </li>

                            <li class="list-inline-item">
                                <a href="#" class="text-custom">
                                    <i class="mdi mdi-power"></i>
                                </a>
                            </li> -->
                        </ul>
                    </div>
                    <!-- End User -->

                    <!--- Sidemenu -->
                    <div id="sidebar-menu">
                        <ul>
                            <li class="text-muted menu-title">菜单列表</li>
                            <?php if((\think\Session::get('root') == '1')): ?>
                                 <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-view-dashboard"></i> <span> 用户管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <!-- <li><a href="<?php echo url('Index/users'); ?>">- 成员列表</a></li> -->
                                        <li><a href="<?php echo url('User/index'); ?>">- 用户列表</a></li>
                                        <!-- <li><a href="ui-cards.html">- 新增用户</a></li> -->
                                    </ul>
                                </li>
                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-texture"></i> <span> 商品管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Special/index'); ?>">- 特卖商品</a></li>
                                        
                                    </ul>
                                </li>
                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-format-font"></i> <span> 品类管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Commodity/class_add'); ?>">- 种类添加</a></li>
                                        <li><a href="<?php echo url('Commodity/brand_index'); ?>">- 品牌添加</a></li>
                                        <!-- <li><a href="<?php echo url('Commodity/add'); ?>">- 商品入库</a></li>
                                        <li><a href="<?php echo url('Commodity/index'); ?>">- 商品列表</a></li> -->
                                        <!-- <li><a href="<?php echo url('Commodity/selling'); ?>">- 热销商品</a></li>
                                        <li><a href="<?php echo url('Commodity/recycle'); ?>">- 商品回收站</a></li> -->
                                        
                                        
                                        
                                    </ul>
                                </li>
                                

                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-airplay"></i> <span> 卖场管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Selling/index'); ?>">- 卖场信息</a></li>
                                        
                                        
                                        
                                        
                                    </ul>
                                </li>
                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-invert-colors"></i><span> 订单管理 </span> </a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Order/index'); ?>">- 已交易订单详情</a></li>
                                        <li><a href="<?php echo url('Order/quit_order'); ?>">- 待退货/退换订单列表</a></li>
                                        <!-- <li><a href="form-advanced.html">- 历史订单</a></li> -->
                                        
                                    </ul>
                                </li>
                                <!-- <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-texture"></i> <span> 销量管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="ui-checkbox-radio.html">- 新增活动</a></li>
                                        <li><a href="ui-checkbox-radio.html">- 轮播活动</a></li>
                                        <li><a href="ui-buttons.html">- 活动列表</a></li>
                                        <li><a href="ui-cards.html">- 历史活动</a></li>
                                    </ul>
                                </li> -->
                                

                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-view-list"></i> <span> 商户管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Merchant/seller'); ?>">- 商户添加</a></li>
                                        <li><a href="<?php echo url('Merchant/index'); ?>">- 商户列表</a></li>
                                        <!-- <li><a href="tables-responsive.html">- 历史资讯</a></li> -->
                                        
                                    </ul>
                                </li>

                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-chart-donut-variant"></i><span> 活动管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Activity/index'); ?>">- 品牌活动列表</a></li>
                                        <li><a href="<?php echo url('Activity/home_index'); ?>">- 家居指南列表</a></li>
                                        
                                    </ul>
                                </li>
                            <?php else: ?>

                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-texture"></i> <span> 商品管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Special/index'); ?>">- 特卖商品</a></li>
                                        
                                    </ul>
                                </li>
                                <li class="has_sub">
                                    <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-chart-donut-variant"></i><span> 活动管理 </span> <span class="menu-arrow"></span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="<?php echo url('Activity/index'); ?>">- 活动列表</a></li>
                                        <li><a href="<?php echo url('Activity/home_index'); ?>">- 家居指南列表</a></li>
                                        <!-- <li><a href="chart-morris.html">- 投诉建议</a></li> -->
                                        
                                    </ul>
                                </li>
                            <?php endif; ?>
                           
                            

                            <!-- <li>
                                <a href="calendar.html" class="waves-effect"><i class="mdi mdi-calendar"></i><span> Calendar </span></a>
                            </li>

                            <li>
                                <a href="inbox.html" class="waves-effect"><i class="mdi mdi-email"></i><span class="badge badge-purple pull-right">New</span><span> Mail </span></a>
                            </li>

                            <li class="has_sub">
                                <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-google-pages"></i><span> Pages </span> <span class="menu-arrow"></span></a>
                                <ul class="list-unstyled">
                                    <li><a href="page-starter.html">Starter Page</a></li>
                                    <li><a href="page-login.html">Login</a></li>
                                    <li><a href="page-register.html">Register</a></li>
                                    <li><a href="page-recoverpw.html">Recover Password</a></li>
                                    <li><a href="page-lock-screen.html">Lock Screen</a></li>
                                    <li><a href="page-confirm-mail.html">Confirm Mail</a></li>
                                    <li><a href="page-404.html">Error 404</a></li>
                                    <li><a href="page-500.html">Error 500</a></li>
                                </ul>
                            </li>

                            <li class="has_sub">
                                <a href="javascript:void(0);" class="waves-effect"><i class="mdi mdi-layers"></i><span>Extra Pages </span> <span class="menu-arrow"></span></a>
                                <ul class="list-unstyled">
                                    <li><a href="extras-projects.html">Projects</a></li>
                                    <li><a href="extras-tour.html">Tour</a></li>
                                    <li><a href="extras-taskboard.html">Taskboard</a></li>
                                    <li><a href="extras-taskdetail.html">Task Detail</a></li>
                                    <li><a href="extras-profile.html">Profile</a></li>
                                    <li><a href="extras-maps.html">Maps</a></li>
                                    <li><a href="extras-contact.html">Contact list</a></li>
                                    <li><a href="extras-pricing.html">Pricing</a></li>
                                    <li><a href="extras-timeline.html">Timeline</a></li>
                                    <li><a href="extras-invoice.html">Invoice</a></li>
                                    <li><a href="extras-faq.html">FAQ</a></li>
                                    <li><a href="extras-gallery.html">Gallery</a></li>
                                    <li><a href="extras-email-template.html">Email template</a></li>
                                    <li><a href="extras-maintenance.html">Maintenance</a></li>
                                    <li><a href="extras-comingsoon.html">Coming soon</a></li>
                                </ul>
                            </li> -->

                        </ul>
                        <div class="clearfix"></div>
                    </div>
                    <!-- Sidebar -->
                    <div class="clearfix"></div>

                </div>

            </div>
            <!-- Left Sidebar End -->



            <!-- ============================================================== -->
            <!-- Start right Content here -->
            <!-- ============================================================== -->
            
            
            <div class="content-page">
                <!-- Start content -->
                <div class="content">
                    <div class="container-fluid">
                        <a href="<?php echo url('Activity/add'); ?>" style="color:#fff;"><button type="button" class="btn btn-primary btn-bordred waves-effect w-md waves-light m-b-5">添加活动</button></a>
                        <div class="row">
                            <!-- <div class="col-md-6 col-lg-3"> -->
                            <!-- <div class=""> -->
                                <?php if(is_array($activityList) || $activityList instanceof \think\Collection || $activityList instanceof \think\Paginator): $i = 0; $__LIST__ = $activityList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                                <div class="col-3 card m-b-20">
                                    <a target="_blank" href="<?php echo $v['activity_url']; ?>">
                                        <img class="card-img-top img-fluid" src="/tp5/public/<?php echo $v['activity_img']; ?>" alt="Card image cap">
                                    </a>
                                    <div class="card-body">
                                        <h4 class="card-title">活动标题</h4>
                                        <p class="card-text"><?php echo $v['title']; ?></p>
                                        <a href="<?php echo url('Activity/edit',array('aid'=>$v['aid'])); ?>">编辑</a>
                                    </div>
                                </div>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            <!-- </div> --><!-- end col -->
                        </div>
                        <!-- end row -->
                    </div> <!-- container -->

                </div> <!-- content -->

                <footer class="footer text-right">
                    2016 - 2018 © Adminto. Coderthemes.com
                </footer>

            </div>


           


            <!-- ============================================================== -->
            <!-- End Right content here -->
            <!-- ============================================================== -->


            <!-- Right Sidebar -->
            
            <!-- /Right-bar -->

        </div>
        <!-- END wrapper -->
    
     

        <!-- responsive-table-->
        <script src="/tp5/public/static/assets/plugins/responsive-table/js/rwd-table.min.js" type="text/javascript"></script>
        <!-- jQuery  -->
        <script src="/tp5/public/static/assets/js/jquery.min.js"></script>
        <script src="/tp5/public/static/assets/js/popper.min.js"></script>
        <script src="/tp5/public/static/assets/js/bootstrap.min.js"></script>
        <script src="/tp5/public/static/assets/js/detect.js"></script>
        <script src="/tp5/public/static/assets/js/fastclick.js"></script>
        <script src="/tp5/public/static/assets/js/jquery.blockUI.js"></script>
        <script src="/tp5/public/static/assets/js/waves.js"></script>
        <script src="/tp5/public/static/assets/js/jquery.nicescroll.js"></script>
        <script src="/tp5/public/static/assets/js/jquery.slimscroll.js"></script>
        <script src="/tp5/public/static/assets/js/jquery.scrollTo.min.js"></script>
        <script src="/tp5/public/static/layer/layer.js"></script>

        <!-- KNOB JS -->
        <!--[if IE]>
        <script type="text/javascript" src="/tp5/public/static/assets/plugins/jquery-knob/excanvas.js"></script>
        <![endif]-->
        <script src="/tp5/public/static/assets/plugins/jquery-knob/jquery.knob.js"></script>

        <!--Morris Chart-->
        <script src="/tp5/public/static/assets/plugins/morris/morris.min.js"></script>
        <script src="/tp5/public/static/assets/plugins/raphael/raphael-min.js"></script>

        <!-- Dashboard init -->
        <script src="/tp5/public/static/assets/pages/jquery.dashboard.js"></script>

        <!-- App js -->
        <script src="/tp5/public/static/assets/js/jquery.core.js"></script>
        <script src="/tp5/public/static/assets/js/jquery.app.js"></script>
        <script> 
           
        </script>
    </body>
</html>